	if(location.href.match(/search8\.taobao/)){
		//<form id="filterForm"
		button = document.evaluate("//form[@id='filterForm']/button",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
		up = "0"
	}
	else{
		button = document.evaluate("//form[@id='filterForm']/fieldset/button",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
		up = "25px"
	}
	//form id="filterForm"
	
	if(button.snapshotLength>0){
		cat = location.href.match(/browse\/(\d+)/)
		if(cat){
			cat = cat[1]
		}
		//<ul class="PathLinksLevel1">
		catname = document.evaluate("//ul[@class='PathLinksLevel1']/li[last()]",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
		if(catname.snapshotLength>0){
			catname = catname.snapshotItem(0).textContent
			catname = catname.match(/^[\u4E00-\u9FFF]+/)
		}
		else
			catname = ""
		
		keyname = document.evaluate("//div[@class='SearchResultReport']/b[last()]",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
		if(keyname.snapshotLength>0)
			keyname = keyname.snapshotItem(0).textContent
		else
			keyname = ""
		key = encodeURI(keyname)
		

		div = document.createElement('div');
		div.style.marginTop=up
		//alert(key)
		if(keyname==""){
			catencode = encodeURI(catname)
			catencode = ''+catencode
			if(catencode=='null'){
				catencode=''
				catname=''
			}
			search = 'http://www.taobaophb.cn/other/taobaopp-taobaophb.php?c='+cat+'&k='+catencode
		}
		else{
			search = 'http://www.taobaophb.cn/other/taobaopp-taobaophb.php?c='+cat+'&k='+key
		}
		div.innerHTML = '<a style="color:#FF6600;float:right" href="'+search
						+'" target="_blank"><div>按销量排序</div><div>'
						+catname+'/'+keyname+'</div></a>'
		button.snapshotItem(0).parentNode.insertBefore(div, button.nextSibling);
	}	